package com.yunfeisoft.base.model;

import com.yunfeisoft.common.base.BaseModel;
import com.yunfeisoft.common.sql.record.TransientField;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * ClassName: WorkflowStepUser
 * Description: 用户-步骤
 *
 * @Author: Jackie liu
 * Date: 2020-01-08
 */
@Entity
@Table(name = "TS_WORKFLOW_STEP_USER")
public class WorkflowStepUser extends BaseModel implements Serializable {

    /**
     * Field serialVersionUID: 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 流程步骤id
     */
    @Column
    private String workflowStepId;

    /**
     * 执行人id
     */
    @Column
    private String userId;

    @TransientField
    private String userName;
    @TransientField
    private String stepName;

    public String getWorkflowStepId() {
        return workflowStepId;
    }

    public void setWorkflowStepId(String workflowStepId) {
        this.workflowStepId = workflowStepId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }
}